﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000809 RID: 2057
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRollShopInfoCsReq : IMessage<GetRollShopInfoCsReq>, IMessage, IEquatable<GetRollShopInfoCsReq>, IDeepCloneable<GetRollShopInfoCsReq>, IBufferMessage
	{
		// Token: 0x17001A19 RID: 6681
		// (get) Token: 0x06005C3B RID: 23611 RVA: 0x000F7320 File Offset: 0x000F5520
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRollShopInfoCsReq> Parser
		{
			get
			{
				return GetRollShopInfoCsReq._parser;
			}
		}

		// Token: 0x17001A1A RID: 6682
		// (get) Token: 0x06005C3C RID: 23612 RVA: 0x000F7327 File Offset: 0x000F5527
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRollShopInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001A1B RID: 6683
		// (get) Token: 0x06005C3D RID: 23613 RVA: 0x000F7339 File Offset: 0x000F5539
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRollShopInfoCsReq.Descriptor;
			}
		}

		// Token: 0x06005C3E RID: 23614 RVA: 0x000F7340 File Offset: 0x000F5540
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRollShopInfoCsReq()
		{
		}

		// Token: 0x06005C3F RID: 23615 RVA: 0x000F7348 File Offset: 0x000F5548
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRollShopInfoCsReq(GetRollShopInfoCsReq other) : this()
		{
			this.rollShopId_ = other.rollShopId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005C40 RID: 23616 RVA: 0x000F736D File Offset: 0x000F556D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRollShopInfoCsReq Clone()
		{
			return new GetRollShopInfoCsReq(this);
		}

		// Token: 0x17001A1C RID: 6684
		// (get) Token: 0x06005C41 RID: 23617 RVA: 0x000F7375 File Offset: 0x000F5575
		// (set) Token: 0x06005C42 RID: 23618 RVA: 0x000F737D File Offset: 0x000F557D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RollShopId
		{
			get
			{
				return this.rollShopId_;
			}
			set
			{
				this.rollShopId_ = value;
			}
		}

		// Token: 0x06005C43 RID: 23619 RVA: 0x000F7386 File Offset: 0x000F5586
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRollShopInfoCsReq);
		}

		// Token: 0x06005C44 RID: 23620 RVA: 0x000F7394 File Offset: 0x000F5594
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRollShopInfoCsReq other)
		{
			return other != null && (other == this || (this.RollShopId == other.RollShopId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005C45 RID: 23621 RVA: 0x000F73C4 File Offset: 0x000F55C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.RollShopId != 0U)
			{
				num ^= this.RollShopId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005C46 RID: 23622 RVA: 0x000F7403 File Offset: 0x000F5603
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005C47 RID: 23623 RVA: 0x000F740B File Offset: 0x000F560B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005C48 RID: 23624 RVA: 0x000F7414 File Offset: 0x000F5614
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.RollShopId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.RollShopId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005C49 RID: 23625 RVA: 0x000F7448 File Offset: 0x000F5648
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.RollShopId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RollShopId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005C4A RID: 23626 RVA: 0x000F7486 File Offset: 0x000F5686
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRollShopInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.RollShopId != 0U)
			{
				this.RollShopId = other.RollShopId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005C4B RID: 23627 RVA: 0x000F74B7 File Offset: 0x000F56B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005C4C RID: 23628 RVA: 0x000F74C0 File Offset: 0x000F56C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.RollShopId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040023A9 RID: 9129
		private static readonly MessageParser<GetRollShopInfoCsReq> _parser = new MessageParser<GetRollShopInfoCsReq>(() => new GetRollShopInfoCsReq());

		// Token: 0x040023AA RID: 9130
		private UnknownFieldSet _unknownFields;

		// Token: 0x040023AB RID: 9131
		public const int RollShopIdFieldNumber = 7;

		// Token: 0x040023AC RID: 9132
		private uint rollShopId_;
	}
}
